#ifndef DRIVER_AD_H
#define DRIVER_AD_H
#define DRIVER_ADC_SET_CAL_VALUE 0
#define DRIVER_ADC_SET_CAL_GAS_DENSITY 1
struct driver_adc_struct_def
{
	uint8_t battery_level;
	uint8_t wear_flag;
	uint8_t charging_flag;
	uint16_t table[4];
	void (*init)(void);
	void (*task)(void);
	void (*control)(uint8_t flag, ...);
};
extern struct driver_adc_struct_def driver_adc_struct;

#endif
